package nacos.springboot.dubbo;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author zhangjie
 * @version 1.0
 * @see
 * @since 2021/11/23 16:36
 **/
@SpringBootApplication
@EnableDubbo(scanBasePackages = "nacos.springboot.dubbo")
@NacosPropertySource(dataId = "${nacos.config.data-id}")
public class ServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerApplication.class, args);
    }
}
